<ion-header>
  <ion-navbar>
    <ion-title>QrCode</ion-title>
  </ion-navbar>
</ion-header>
<ion-content padding>
  <div class="wrap">
    <ion-qrcode [data]="'扫一扫上面的二维码，有惊喜哦！'" [size]="180" [level]="'H'" [logo]="'assets/imgs/logo.png'" [foreground]="'black'"></ion-qrcode>
  </div>
</ion-content>
